<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
    <title>:: 金正APP ::</title>
    <link type="image/x-icon" rel="shortcut icon" href="/public/images/common/logo.png" />
</head>

<body>
    <div id="app">
    </div>
    <script>
        ﻿var serverConfig = {};
        var CONFIG = {
          'projectName': "jinzhengSalesApp"
        }

        //本地开发环境
        serverConfig["TESTING"] = {
          apiUrl: 'http://localhost:8080/mock/',
          imageUrl: 'http://localhost:8080/appservice/'
        }

        //服务器开发环境
        serverConfig["STAGING"] = {
        }

        //正是环境
        serverConfig["PRODUCTION"] = {
        }


        // var app_evn = "STAGING";
        //开发测试环境
        var app_evn = "TESTING";
        //如果需要修改不同的环境，请修改app_evn 的值
        //测试环境
        // var app_evn = "SITEV";
        //客户环境
        // var app_evn = "PRODUCTION";

        // apiUrl
        for (var key in serverConfig[app_evn]) {
          CONFIG[key] = serverConfig[app_evn][key];
        }

    </script>
</body>
</html>
